﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<title>显示地图</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="proj/resources/javascript/jquery/jquery-1.5.2.min.js"></script>
	<script type="text/javascript" src="proj/resources/javascript/flashmap/flashmap_all.js"></script>
    <script type="text/javascript">
        $(function(){
			$("body").prepend($("<a>").attr("href","http://code.google.com/p/njcjtx/source/browse/trunk/samples/"+$("title").text()+".html").attr("target","blank").text("查看页面源码(Google Code)"));
			
            var MSG = "恭喜您！地图加载成功!现在你可以进行地图相关操作了!";
            
            var onMapLoadHandler = function(){
                $("#msg").text(MSG);
            };
            
            map = new iMap({
                dom:"flashContent",
                type:"street",
                width:640,
                height:480,
                onLoad:onMapLoadHandler
            });
        });
    </script>
	</head>
	<body>
		<div id="flashContent" style="border:solid 1px"></div>
        <p id="msg" style="color:#ff0000;"></p>
	</body>
</html>
